package com.turing.post.organization.util;

import java.util.List;

import com.turing.post.util.PCPSWebReturn;

/**
 * @author zxp
 * @Dec 17, 2012
 */
@SuppressWarnings("serial")
public class OrganTreeResult extends PCPSWebReturn {

	List<OrganTreeList> result = null;

	public OrganTreeResult() {

	}

	/**
	 * 用户登录成功返回
	 * @param list
	 */
	public OrganTreeResult(List<OrganTreeList> list) {
		super(true);
		result = list;
	}

	/**
	 * 用户登录失败返回
	 * @param isSuccess 是否成功
	 * @param excepCode 返回结果代码
	 * @param excepMessage 返回结果信息
	 */
	public OrganTreeResult(boolean isSuccess, String excepCode,
			String excepMessage) {
		super(isSuccess, excepCode, excepMessage);
	}

	/**
	 * 客户端取值调用
	 * 
	 * @return list
	 */
	public List<OrganTreeList> getResult() {
		return result;
	}

	public void setResult(List<OrganTreeList> result) {
		this.result = result;
	}
}
